package com.xcity.pomelo.response;

import com.xcity.game.combat.Round;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.RESPONSE)
public class CombatRoundResponse extends Response {
	
	private Round round;
	private byte end;
	
	public CombatRoundResponse(int serial, Round round, boolean end) {
		super(serial);
		this.round = round;
		this.end = (byte) (end ? 1 : 0);
	}

	public Round getRound() {
		return round;
	}

	public void setRound(Round round) {
		this.round = round;
	}

	public byte getEnd() {
		return end;
	}

	public void setEnd(byte end) {
		this.end = end;
	}
	
}
